<?php
/**
 * Created by PhpStorm.
 * User: plume
 * Date: 2017/11/14
 * Time: 14:56
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserFile extends Model {
    protected $table = "user_files";
    protected $primaryKey = "id";

    const TYPE_FILE = 0;
    const TYPE_FOLDER = 1;
    const TYPE_SHARE_LINK = 2;

    const STATUS_NORMAL = 0;
    const STATUS_DELETED = 1;

    const IS_NOT_PUBLIC = 0;
    const IS_PUBLIC = 1;
}